<?php
// Library File
include 'lib/library.php';

login_check();


$title = "$m_name's Home";
$subtitle = "$m_name's Home";

$query = mysql_query("SELECT * FROM items WHERE user_id='$m_user_id'");

$content .= '<table>';
while($array = mysql_fetch_assoc($query)){
	$content .= '
		<tr><td></td></tr>
		    ';
}
$content .= '</table';


$side .= '
	<a href="'.$addr.'/editaccount.php">Edit Account</a>
	<a href="'.$addr.'/editaccount.php?mode=profile">Edit Profile</a>
	<a href="'.$addr.'/editaccount.php?mode=items">Edit Items</a>
	';
/*
**   P U T    V A R S
**    O N    P A G E
*/
	head($title,$style,$scripts);
	body($header,$personal,$subtitle,$content,$navigation,$side);
	foot($footer,$dbc);
?>